package org.osomit.sacct.security.utils;

import org.junit.Test;
import org.junit.BeforeClass;

/**
 * @author Jian Fang (John.Jian.Fang@gmail.com)
 *
 * Date: Jun 26, 2009
 */
public class SharedSecurityGenerator_UT {
	@BeforeClass
	public static void singleSetup(){
		SharedSecurityGenerator.setLength(20);
	}

	@Test
	public void testGenerateMasterSecret(){

		int count = 20;
		for(int i=0; i<count; i++){
			String ms = SharedSecurityGenerator.generateSharedSecret();
			System.out.println("Generated Shared Secret: " + ms + "\n");
		}
	}	    
}
